package com.shxc.smarttrade.old.bean;

import java.util.List;

/**
 * Created by jcdev1 on 2017/8/11.
 */

public class BankCard extends ErrorStatus {

    /**
     * data : {"cardInfo":[{"id":6,"createdAt":1498464663000,"updatedAt":1498464663000,"userId":2,"bankName":"中国农业银行","bankAddr":"河南理工大学","cardNo":"6228482372389908519","province":"河南省","city":"焦作市","isDel":0}]}
     */

    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        private List<CardInfoBean> cardInfo;

        public List<CardInfoBean> getCardInfo() {
            return cardInfo;
        }

        public void setCardInfo(List<CardInfoBean> cardInfo) {
            this.cardInfo = cardInfo;
        }

        public static class CardInfoBean {
            /**
             * id : 6
             * createdAt : 1498464663000
             * updatedAt : 1498464663000
             * userId : 2
             * bankName : 中国农业银行
             * bankAddr : 河南理工大学
             * cardNo : 6228482372389908519
             * province : 河南省
             * city : 焦作市
             * isDel : 0
             */

            private int id;
            private long createdAt;
            private long updatedAt;
            private int userId;
            private String bankName;
            private String bankAddr;
            private String cardNo;
            private String province;
            private String city;
            private int isDel;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public long getCreatedAt() {
                return createdAt;
            }

            public void setCreatedAt(long createdAt) {
                this.createdAt = createdAt;
            }

            public long getUpdatedAt() {
                return updatedAt;
            }

            public void setUpdatedAt(long updatedAt) {
                this.updatedAt = updatedAt;
            }

            public int getUserId() {
                return userId;
            }

            public void setUserId(int userId) {
                this.userId = userId;
            }

            public String getBankName() {
                return bankName;
            }

            public void setBankName(String bankName) {
                this.bankName = bankName;
            }

            public String getBankAddr() {
                return bankAddr;
            }

            public void setBankAddr(String bankAddr) {
                this.bankAddr = bankAddr;
            }

            public String getCardNo() {
                return cardNo;
            }

            public void setCardNo(String cardNo) {
                this.cardNo = cardNo;
            }

            public String getProvince() {
                return province;
            }

            public void setProvince(String province) {
                this.province = province;
            }

            public String getCity() {
                return city;
            }

            public void setCity(String city) {
                this.city = city;
            }

            public int getIsDel() {
                return isDel;
            }

            public void setIsDel(int isDel) {
                this.isDel = isDel;
            }
        }
    }
}
